package com.wealth.scsj.b_app.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.wealth.scsj.b_app.R;
import com.wealth.scsj.b_app.bean.DateBean;

import java.util.List;

/**
 * Created by Administrator on 2018/7/18.
 */

public class Dateadapter extends BaseQuickAdapter<DateBean,BaseViewHolder> {

    public Dateadapter(List data) {
        super(R.layout.item_date_layout,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, DateBean item) {
             helper.setText(R.id.date_tv,item.getDate());
             helper.setText(R.id.order_tv,item.getOrder());
             helper.setText(R.id.money_tv,item.getMoney());
    }
}
